/***************************************************************************\
 * Copyright (C) by Keio University
 * ColorInputStream.hpp created in 10 2011.
 * Mail : fdesorbi@hvrl.ics.keio.ac.jp
 *
 * ColorInputStream.hpp is part of the HVRL Engine Project.
 *
 * The HVRL Engine Project is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * The HVRL Engine Project is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
\***************************************************************************/

#ifndef VIDEO__COLOR_INPUT_STREAM_HPP__
#define VIDEO__COLOR_INPUT_STREAM_HPP__

#include <opencv2/opencv.hpp>

namespace hvrl{

class ColorInputStream
{
public:
    virtual ~ColorInputStream(void) = 0;
    virtual const cv::Mat& getFrame(void) const = 0;
    virtual void update(void) = 0;
    virtual cv::Size getSize(void) const = 0;
    virtual double getParameter(const int&) = 0;
    virtual bool setParameter(const int&, const double& value) = 0;
};

}

#endif
